package org.example;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:何人亮
 * Date:2024-10-19
 * 16:01
 */
public class Test {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int[] a=new int[256];
        while(sc.hasNextLine()){
            String s=sc.nextLine();
            String ss=s.toLowerCase();
            for (int i=0;i<ss.length();i++){
                char c=ss.charAt(i);
                if(c>='a'&&c<='z'){
                    a[c]++;
                }
            }
        }

        for (char i = 97; i <123 ; i++) {
            System.out.println(i+" : "+a[i]);
        }
    }
}
